<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login Page</title>
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" th:href="@{/assets/layui/css/layui.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/login.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/common.css}">
</head>
<!-- 引入js -->
<script type="text/javascript" th:src="@{/assets/jquery/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/assets/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/assets/jq-module/jquery.particleground.min.js}"></script>
<body>
<div class="layui-container layui-hide layui-anim layui-anim-fadein">
    <div class="admin-login-background">
        <div class="layui-form login-form">
            <form class="layui-form" action="">
                <div class="layui-form-item logo-title">
                    <h1>小 王 登 录</h1>
                </div>
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-username" for="loginName"></label>
                    <input type="text" id="loginName" name="loginName" lay-verify="required|account" placeholder="请输入用户名" autocomplete="off" class="layui-input" value="sysadmin">
                </div>
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-password" for="loginPwd"></label>
                    <input type="password" id="loginPwd" name="loginPwd" lay-verify="required|password" placeholder="请输入密码" autocomplete="off" class="layui-input" value="sysadmin">
                </div>
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-vercode" for="captcha"></label>
                    <input type="text" id="captcha" name="captcha" lay-verify="required|captcha" placeholder="图形验证码" autocomplete="off" class="layui-input verification captcha">
                    <div class="captcha-img">
                        <a href="javascript:void(0);" title="点击更换验证码">
                            <img id="captchaPic" th:src="@{captcha/captchaImg}">
                        </a>
                    </div>
                </div>
                <div class="layui-form-item">
                    <input type="checkbox" name="rememberMe" lay-skin="primary" title="记住密码">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="login">登 入</button>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="layui-footer layui-text">
    copyright © 2021 zy-is all rights reserved.
</div>
</body>
<script type="text/javascript" th:src="@{/assets/js/login.js}"></script>
</html>